<div style="border-bottom:2px solid #000;">
	<span><p style="display:inline-block;font-weight:bold;font-size:19px;">Search Contacts</p></span>
	&nbsp;&nbsp;
	<div class="btn-group">
	  <a href="https://help.yahoo.com/kb/yahoo-business-mail/SLN17235.html?impressions=true"  target="_blank" title="Continue to yahoo website? this will open a new tab." class="confirm btn btn-small">How to Import in Yahoo?</a>
	  <a href="https://support.google.com/mail/answer/14024" class="cofirm btn btn-small" target="_blank"  title="Continue to Google website? this will open a new tab.">How to Import in Google Mail?</a>
	  <button class="btn btn-small">Export</button>
	  <button class="btn btn-small dropdown-toggle" data-toggle="dropdown">
	    <span class="caret"></span>
	  </button>
	  <ul class="dropdown-menu">
	    <li>
	    	<a href="<?=site_url('excel_gen/export/gmail/'.$hashlink);?>" target="_blank" class="confirm" title="Continue and print export GMAIL contacts" ><span class="fa-stack fa-lg">
			  <i class="fa fa-square-o fa-stack-2x"></i>
			  <i class="fa fa-google fa-stack-1x"></i>
			</span>&nbsp;Create CSV for GMAIL</a>
	    </li>
	    <li><a href="<?=site_url('excel_gen/export/yahoo/'.$hashlink);?>"  class="confirm" title="Continue and print export YAHOO contacts"><span class="fa-stack fa-lg">
		  <i class="fa fa-square-o fa-stack-2x"></i>
		  <i class="fa fa-yahoo fa-stack-1x"></i>
		</span>&nbsp;Create CSV for YAHOO</a>
		</li>
	  </ul>
	</div>
</div>
<div class="clearfix"><br></div>
<div>
	<div style="margin-top:1px;margin-bottom:1px;" class="pagination  pagination-mini  pagination-centered">
	<ul>
	<?foreach($a_z as $v):?>
		<li><a href="<?=site_url($p_link.'/'.$v);?>"  class="<?=$active==$v?'btn btn-inverse btn-mini':'';?>">
			<strong><?=strtoupper($v);?></strong></a>
		</li>
	<?endforeach;?>
	</ul>
	</div>
	<div class="clearfix"><br></div>
	<?if(isset($contacts) AND $contacts !== FALSE):?>

	<table class="table table-striped table-bordered table-compressed">
		<tr>
			<td>Family Name</td>
			<td>Email</td>
			<td>Father Numbers</td>
			<td>Mother Numbers</td>
			<td>Address Numbers</td>
		</tr>
		<?foreach($contacts as $k => $v):?>
		<tr>
			<td><?=$v->lastname;?></td>
			<td><?=$v->email;?></td>
			<td><?=$v->father_contact;?></td>
			<td><?=$v->mother_contact;?></td>
			<td><?=$v->addr;?></td>
		</tr>
		<?endforeach;?>
	</table>
	<?else:?>

		<div class="alert-box">No Contacts Available to display.</div>
	<?endif;?>
	<?=$pagnatelinks;?>
</div>
